<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:fn="http://java.sun.com/jsp/jstl/functions"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">
    <p:dialog id="dlgMessageErrors"
              header="#{messages.label_titulo_informacion}"
              modal="true" widgetVar="wdlgMessageErrors" resizable="false"
              dynamic="true" width="250" >

            <h:panelGrid  id="messages" columns="2"
                    >
                <p:graphicImage value="../resources/images/#{jsfBean.iconMessage}.png" width="25px" height="25px"/>
                <h:outputText escape="false" value="#{jsfBean.errores}"/>
            </h:panelGrid>


        <h:panelGrid columns="4" styleClass="centered">
            <p:commandButton value="Aceptar"
                             onclick="wdlgMessageErrors.hide()" type="button"/>
        </h:panelGrid>
    </p:dialog>

</ui:composition>
